import http from "@/http";

export default {
    upload: {
        name: "上传的接口",
        url: '/api/upload',
        call: async function (params: any = {}) {
            return await http.post(this.url, params)
        }
    },
    imglist: {
        name: "获取图片",
        url: '/api/upload',
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    }
}